package com.lsy.poi.exception.workbook;

import org.apache.poi.xssf.usermodel.XSSFWorkbook;

import com.lsy.poi.exception.ParseException;

/**
 * index 重叠
 *
 */
public class NoSuchSheetException extends ParseException {

	
	private static final long serialVersionUID = -6363858614040277525L;
	
	private static final String ERROR_MSG = "没有 '%s' 这个 sheet";
	

	public NoSuchSheetException(XSSFWorkbook workbook, String sheetName) {
		super(workbook, String.format(ERROR_MSG, sheetName));
	}
}